Differentiate A Function In Python Using Sympy